---
title: "on scan · RUAL Documentation"
description: "Connected function will be executed on enter or if the maxlength is reached. The input will be cleared after every enter or after 1 second of inactivity…"
canonical: https://docs.rual.nl/block-types/User Interface/uicomponent_onscan_register
language: en
---

# on scan

This block is part of the [`User Interface`](https://docs.rual.nl/block-types/User%20Interface) group and was last modified in core [`v13.0.2`](https://docs.rual.nl/core-versions/130002).

Connected function will be executed on enter or if the maxlength is reached. The input will be cleared after every enter or after 1 second of inactivity. The on scan will try to set the element value if an outlet is selected

### Core Releases
